import cpnstyles from './cpnstyles.less';

interface IncomeProps {
  actual: string | number;
  payable: string | number;
}

const DailyIncome = (props: IncomeProps) => {
  const { actual, payable } = props;
  return (
    <div className={cpnstyles.income}>
      <div className={cpnstyles.parking}>
        今日停车应收 <span>{payable}</span> 元
      </div>
      <div className={cpnstyles.parking}>
        实收 <span>{actual}</span> 元
      </div>
    </div>
  );
};

export default DailyIncome;
